package com.du.spring.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : DuJiabao
 * @Date : 2021/2/5 10:15
 * @Project : spring
 * @File : null.java
 * @Desc :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
  private int id;
  private String username;
  private String phone;

  public User(String username, String phone) {
    this.username = username;
    this.phone = phone;
  }
}
